home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / internet / net commander 1.0 / ISP / SCRPTLST / INETUSA.CMD < prev    next >
Encoding:
Text File  |  1996-02-16  |  1011 b   |  40 lines

  1. #    Internet Express USA Trumpet Winsock Login.cmd
  2. #
  3. #First we initialize the modem.
  4. output atz\13
  5. input 10 OK\n
  6.  
  7. #Then we dial the number.
  8. #Change the number to the one you dial into.
  9. output atdt5205000\13
  10. input 45 CONNECT
  11.  
  12. #Once we're connected, we wait for the prompt for our 
  13. #login name.
  14. input 30 Username:
  15.  
  16. #You can configure the script to enter your name 
  17. #automatically by removing the line that starts
  18. #with "username" and changing the next line to
  19. #read "output <yourid>\13"
  20. username Enter your username
  21. output \u\13
  22.  
  23. #Next we wait for the password prompt.
  24. input 30 Password:
  25.  
  26. #You can have the script put in your password 
  27. #automatically by following the steps above.
  28. #For security reasons, we don't recommend this.
  29. password Enter your password
  30. output \p\13
  31.  
  32. #Now we wait for the continue prompt and then
  33. #send "slip"
  34. input 30 continue
  35. output slip\13
  36.  
  37. #This line will get your ip address from our
  38. #server.  Disable this if you have entered it
  39. #in the setup.
  40. bootp